//
//  UIColor+IDPExtension.m
//  TotalDemo
//
//  Created by gujian on 16/2/29.
//  Copyright © 2016年 gujian. All rights reserved.
//

#import "UIColor+IDPExtension.h"

@implementation UIColor (IDPExtension)


+ (UIColor *)randomColor
{
    return [UIColor colorWithRed:arc4random() % 255 / 255.0
                           green:arc4random() % 255 / 255.0
                            blue:arc4random() % 255 / 255.0
                           alpha:1.0f];
}

@end

